package com.xxxx.server.controller;

import com.xxxx.server.pojo.RespBean;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Gaochenjie
 * @description
 * @email none-j@qq.com
 * @date 2022/02/16 22:15
 */
@RestController
public class HelloController {

    @GetMapping("/hello")
    public RespBean hello(){
        return RespBean.success("测试成功");
    }

    @GetMapping("/employee/basic/hello")
    public String hello2(){
        return "/employee/basic/hello";
    }

    @GetMapping("/employee/advanced/hello")
    public String hello3(){
        return "/employee/advanced/hello";
    }
}
